home *** CD-ROM | disk | FTP | other *** search
-
- # DMakefile for dlink using dcc.
- #
- # (c)Copyright 1992 Obvious Implementations Corp, All Rights Reserved
- # CONFIDENTIAL, This is unpublished proprietary source code owned by Obvious Implementations Corp.
- # This material contains trade secrets of Obvious Implementations Corp.
-
- OD= dtmp:comp2/dlink/
- EXE= dcc:bin/amiga/bin2/xc_dlink
- CFLAGS= -ms -r -I$(OD) -s -DDEBUG
- PROTOS= $(OD)protos.h
-
- CSRCS= main.c module.c reloc.c sym.c subs.c final.c jump.c
- ASRCS= hash.a
-
- COBS = $(CSRCS:"*.c":"*.o")
- AOBS = $(ASRCS:"*.a":"*.o")
-
- COBJS = $(CSRCS:"*.c":"$(OD)*.o")
- AOBJS = $(ASRCS:"*.a":"$(OD)*.o")
-
- all: $(PROTOS) $(EXE)
-
- $(EXE) : $(AOBJS) $(COBJS)
- cd $(OD)
- lc_dcc $(AOBS) $(COBS) -o %(left) $(CFLAGS)
- cd
-
- $(COBJS) : $(CSRCS)
- lc_dcc -c %(right) -o %(left) $(CFLAGS)
-
- $(AOBJS) : $(ASRCS)
- lc_dcc -c %(right) -o %(left)
-
- $(PROTOS) : $(CSRCS) $(ASRCS)
- -delete %(left)
- xc_makeproto -o%(left) %(right)
-
- clean:
- delete $(COBJS) $(AOBJS)
-